﻿using Domain.Model.Sys;
using System.Collections.Generic;

namespace Domain.Repository.Sys
{
    public interface ISec_MenuRoleRepository : IRepository<Sec_MenuRole>
    {
        #region Methods
        /// <summary>
        /// 根基指定角色，获取该角色所属的菜单
        /// </summary>
        /// <param name="role"></param>
        /// <returns></returns>
        List<Sec_Menu> GetMenusForRole(Sec_Role role);
        #endregion
    }
}
